/*
Credit: http://www.templatemo.com
*/

body {
	margin: 0px;
	padding: 0px;
	color: #6f643a;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	line-height: 1.5em; 
	background-color: #494331;
	background-image: url(../images/body.jpg);
	background-repeat: repeat-x;
	background-position: top;
}

a, a:link, a:visited { color: #333; text-decoration: underline; }
a:hover { color: #000; text-decoration: none; }

p { margin: 0px; padding: 0; }
img { border: none; }

ul { margin: 0; padding: 0; }
ul li { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { color: #000; }
h1 { font-size: 40px; font-weight: normal; margin: 0 0 20px 0; padding: 5px 0; }
h2 { font-size: 28px; font-weight: normal; margin: 0 0 30px 0; padding: 10px 0 15px 0; }
h3 { font-size: 21px; font-weight: normal; margin: 0 0 15px 0; padding: 0; padding: 0 0 10px 0; }
h4 { font-size: 18px; margin: 0 0 20px 0; padding: 0 0 10px 0; color: #000; }
h5 { font-size: 16px; margin: 0 0 10px 0; padding: 0; color: #000; }
h6 { font-size: 14px; margin: 0 0 5px 0; padding: 0; color: #000; }

.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }
.cleaner_h10 { clear: both; width:100%; height: 10px; }
.cleaner_h20 { clear: both; width:100%; height: 20px; }
.cleaner_h30 { clear: both; width:100%; height: 30px; }
.cleaner_h40 { clear: both; width:100%; height: 40px; }
.cleaner_h50 { clear: both; width:100%; height: 50px; }
.cleaner_h60 { clear: both; width:100%; height: 60px; }

.hr_divider { background: url(../images/hr_divider.jpg) bottom repeat-x; }

.float_l { float: left; }
.float_r { float: right; }

.image_wrapper { display: inline-block; padding: 4px; border: 1px dashed #666; background: none; margin-bottom: 10px; }
.image_fl { float: left; margin: 3px 15px 0 0; }
.image_fr { float: right; margin: 3px 0 0 15px; }

blockquote { font-style: italic; margin-left: 10px;}
cite { font-weight: bold; color:#3b3823; }
cite span { color: #696443; }
em { color: #e55822; }

.tmo_list { margin: 20px 0; padding: 0; list-style: none; }
.tmo_list li { margin: 0 0 10px; padding: 0 0 5px 0; border-bottom: 1px dotted #666; }
.tmo_list li a { color: #333; text-decoration: none; }
.tmo_list li a:hover { color: #d06802; text-decoration: none; }

.post_function a {
	color: #000;
	margin-right: 10px;
	padding-bottom: 1px;
	border-bottom: 1px dotted #000;
}

.post_function a:hover {
	border-bottom: none;
}

#wrapper_outer {
	width: 100%;
	background: url(../images/content_top.jpg) top center no-repeat;
}

#wrapper {
	width: 1020px;
	margin: 0 auto;
	background: url(../images/content_top.jpg) top center no-repeat;	
}

#header {
	width: 900px;
	height: 100px;
	padding: 60px;
}

#site_title { float: left; width: 300px; }
#site_title h1, #api_title h1 { margin: 0px; padding: 0px; font-size: 40px; color: #721329; font-weight: bold; text-decoration: none; }
#site_title h1 span { display: block; font-size: 16px; color: #000; font-weight: normal; margin-top: 10px; }
#header_right { float: right;  padding-top: 10px; display: inline-block; }

#menu { float: right; width: 600px; height: 30px; }
#menu ul { margin: 0; padding: 0; list-style: none; }
#menu ul li { padding: 0; margin: 0; display: inline; }
#menu ul li a { float: left; display: block; font-size: 14px; padding: 5px 20px; margin-left: 20px; height: 20px; color: #000; text-decoration: none; font-weight: bold; text-align: center; outline: none; }
#menu ul li a:hover, #menu ul .current { color: #fff; background: url(../images/menu_hover.jpg) repeat-x; }

#googleplus { float: right;}

#main_wrapper {
	width: 1020px;
	background: url(../images/main.png) repeat-y;
}

#main {
	width: 900px;
	padding: 30px 60px 20px;
	background: url(../images/main_top.png) no-repeat top;
}

#loading { margin-top: 30px; margin-left: 400px; }

#blog_content {
	float: left;
	width: 600px;
}

#content p { margin-bottom: 15px; }

.content_box {
	padding-bottom: 30px;
	border-bottom: 1px dashed #333;
	margin-bottom: 30px;
}
.last { margin: 0; border: none; padding: 0; }

.content_box h2 { margin-bottom: 10px; }

.post {
	border-bottom: 1px solid #494331;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.post_meta {
	float: left;
	width: 105px;
	padding-right: 12px;
	color: #777160;
}

.post_meta span { display: block; color: #9f204c; font-weight: bold; font-size: 11px; }
.post_meta span a { color: #9f204c; font-weight: bold; text-decoration: none; }

.post_meta p { margin-bottom: 5px; }

.post_content {
	float: right;
	width: 460px;
	padding-left: 22px;
	background: url(../images/vertical_divider.png) repeat-y left;	
}

.post_content h2 { margin-bottom: 10px; line-height: 30px; }

.post_content h2 a { text-decoration: none; }

.post_content p { margin-bottom: 10px; }

.post_content img { margin-bottom: 10px; }

#sidebar {
	float: right;
	width: 240px;
}

.sidebar_box {
	width: 200px;
	margin-bottom: 30px;
	padding: 40px 0 0 40px;
	background: url(../images/sidebox.jpg) top no-repeat;
}

.sidebar_box h3 { font-style: italic; }

#avatar { height: 20px; width:20px; }

.recent_comment { margin: 0; padding: 0; list-style: none; }
.recent_comment li { margin: 0 0 15px; padding: 0 0 5px; border-bottom: 1px dotted #666; }
.recent_comment li a { text-decoration: none; }
.recent_comment li a:hover { text-decoration: underline; }
.recent_comment li .author { color:#900; }
.recent_comment li .post_title { color:#000; }

.rss a { display: block; font-size: 20px; padding: 20px 55px 0 0; height: 28px; text-align: right; margin-bottom: 30px; color: #C60; text-decoration: none; background: url(../images/rssorange.png) no-repeat center right; }

.ads a { display: block; width: 234px; height: 60px; background: #999; border: 3px solid #FFF; margin-bottom: 10px; }

.service_box { clear: both; margin-bottom: 50px; }
.service_box img { float: left; width: 48px; height: 48px; }
.service_box .sb_right { float: right; width: 520px; }


/* form style */
.form { margin: 0px; padding: 0px; }
.form .input_field { width: 288px; color: #000; padding: 5px; border: 1px solid #bfbaab; background: #dbd7cb; }
.form label { display: block; width: 100px; margin-right: 10px; font-size: 14px; color: #a39d9d; }
.form textarea { font-family: Arial, Helvetica, sans-serif; width: 500px; height: 300px; padding: 5px; color: #000; border: 1px solid #bfbaab; background: #dbd7cb; }
.form .submit_btn { margin: 5px 50px 0px 0px; padding: 7px 14px; border: 1px solid #bfbaab; background: #dbd7cb; }
.form .error_msg { margin-left: 10px; color:red; }


/* popup window*/
.popup_wrapper { display:none; }
.window { padding:20px; }


/* comment section*/
#comment_section {
	clear: both;
	width: 460px;
	color: #333;
	border-top: 1px solid #494331;
	margin-top: 30px;
}

#comment_section h3 {
	margin-top:30px;
	color:#333;
}

.first_level {
	margin: 0; padding: 0;
}

.comments {
	list-style: none; 
}

.comments li { margin-bottom: 10px; list-style:none; }
.comments li .commentbox1 { border: 1px solid #ddd8c6;  background: #c4bea9; }
.comments li .commentbox2 { border: 1px solid #c4bea9;  background: #aca58e; }

.comments li .comment_box { clear: both; width:80%; padding: 15px; border: 1px solid #ddd8c6;  background: #c4bea9;  }
.comment_box .gravatar { float: left; width: 50px; border: 1px solid #3c3735; margin-right: 15px; background: #3c3735; }
.comment_box .gravatar img { margin: 0; width: 50px; height: 50px; }
.comment_box .comment_text { margin: 0 0 0 65px; }

.comment_box .comment_author { font-size: 14px; color: #9f204c; margin-bottom: 10px; }
.comment_box .comment_time { font-size: 12px; font-weight: normal; color: #333; padding-left: 10px; }


#comment_form {
	clear: both;
}

#comment_form h3 {
	font-size: 20px;
	border-bottom: 1px dotted #666;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

#comment_form form {
	padding: 20px;
	background: #ddd8c6;
	border: 1px solid #c4bea9;
}

#comment_form textarea {
	background: #fff none repeat fixed 0 0;
	border: 1px solid #ddd;
	display:block;
	font-size:1.1em;
	height:150px;
	margin-top:5px;
	padding:5px;
	width: 400px;
}

#comment_form .form_row {
	width: 100%;
	margin-bottom: 15px;
}

#comment_form form input {
	margin-top: 5px;
	padding: 3px 3px;
	width: 200px;
	background:#fff none repeat fixed 0 0;
	border: 1px solid #ddd;
}

#comment_form .submit_btn {
	width: 90px;
	font-weight: bold;
	color: #fff;
	background: #494331;
	cursor: pointer;
}

#gallery { clear: both; }
#gallery a { border: none; }

#gallery .gallery_box { padding: 0 0 30px 0; margin: 0 0 30px 0; border-bottom: 1px dashed #666; }
#gallery .gallery_box .left { float: left; width: 300px; }	
#gallery .gallery_box .left img { width: 260px; height: 160px; border: 5px solid #fff; }
#gallery .gallery_box .right { float: right; width: 300px; }
#gallery .last { margin: 0; padding: 0; border: none }


#footer {
	width: 860px;
	padding: 30px 60px;
	margin: 0 auto;
	color: #e2dfd3;
	background: #6f643a url(../images/footer.png) top repeat-x;
	text-align: center;
}

#footer a { color: #fff; }

#footer h3 { color: #fff; margin-bottom: 5px; }

.footer_col_w200 {
	float: left;
	width: 200px;
	margin-right: 60px;
}

.footer_col_w400 {
	float: right;
	width: 340px;
}

#footer ul { margin: 0; padding:0; list-style: none; }
#footer ul li { margin: 0 0 8px; padding: 0 0 5px; border-bottom: 1px dashed #e2dfd3; }
#footer ul li a { color: #e2dfd3; text-decoration: none; }

#footer p { margin-bottom: 15px; }

/* Calendar custom style */
.selected-date {
	background-color:#ddd;
}

/* back to top button */
#back-top {
	position:fixed; 
	right:50px; 
	bottom:10px;
}

#back-top a {
	width: 108px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #bbb;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

#back-top span {
	width: 108px;
	height: 108px;
	display: block;
	margin-bottom: 7px;
	background: url(../images/Picture1.png) no-repeat center center;
	/* rounded corners 
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;*/
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
